import request from '../request'
import { upload } from '../request'

const cert = {

  /**
   * 
   * @param {*} type 1 手机 2 身份证 3 学历
   */
  getCertAuth: (type)=>{
    return request({
      type: type
    })
  },
  ocrIdCard: (path)=>{
    return upload({
      url: '/app/auth/ocrIdCard',
      file: path
    })
  }
  

}
export default cert